/*
 * Copyright (c) 2009-2012 by Emagsoftware Inc., All rights reserved.
 *
 */
namespace java com.emagsoftware.partake.global
enum ErrorCode {
  UNKNOWN = 0,
  INVALID_PARAMETER = 1001,
  INNER_ERROR=1002
}

exception ServiceRuntimeException {
  1:  required  ErrorCode errorCode,
  2:  optional  string message
}